using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Framework.Module.CMS.Library.Providers;

namespace Framework.Module.CMS.Library.Sport
{
    public class MatchController
    {
        public static int Match_Insert(MatchSchedule ms)
        {
            return DataAccessProvider.Instance().Match_Insert(ms);
        }
        public static void Match_Delete(int matchid)
        {
            DataAccessProvider.Instance().Match_Delete(matchid);
        }
        public static MatchSchedule Match_GetInfo(int matchid)
        {
            return DataAccessProvider.Instance().Match_GetInfo(matchid);
        }
        public static DataTable Match_GetAll(int seasonid, bool status)
        {
            return DataAccessProvider.Instance().Match_GetAll(seasonid, status);
        }
        public static void Match_Update(MatchSchedule ms)
        {
            DataAccessProvider.Instance().Match_Update(ms);
        }
        public static void MatchSchedule_SetPriority(int matchid, int index)
        {
            DataAccessProvider.Instance().MatchSchedule_SetPriority(matchid, index);
        }
        public static void MatchSchedule_SetStatus(int matchid, bool status)
        {
            DataAccessProvider.Instance().MatchSchedule_SetStatus(matchid, status);
        }
    }
}
